package com.rm.zeyou.pay.wxpay.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 通过code换取网页授权access_token
 * @Title: GetAccessTokenByCodeBean
 * @Package com.sxskz.software.base.login.wx.officialaccounts.bean
 * @Author ZhangKeChen  🤙🤙🏼🤙🏽
 * @Date 2023/4/26 6:03 PM
 */
@NoArgsConstructor
@Data
public class GetAccessTokenByCodeBean {

    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("expires_in")
    private Integer expiresIn;
    @JsonProperty("refresh_token")
    private String refreshToken;
    @JsonProperty("openid")
    private String openid;
    @JsonProperty("scope")
    private String scope;
    @JsonProperty("is_snapshotuser")
    private Integer isSnapshotuser;
    @JsonProperty("unionid")
    private String unionid;
}
